package com.study_security.service;

import com.study_security.domain.ResponseResult;
import com.study_security.entity.User;

public interface LoginService {
    ResponseResult login(User user);

    ResponseResult logout();

    ResponseResult register(User user); // 添加注册方法

    ResponseResult sendVerificationCode(String email);

    ResponseResult forgotPassword(String email, String newPassword, String verificationCode);
    // ResponseResult verifyCode(String email, String code);
}
